﻿using System.Collections.Generic;
using System.Xml.Serialization;

namespace Zendesk.NET.Models
{
    [XmlRoot("comment")]
    public class Comment
    {
        [XmlElement("value")]
        public string Description;

        [XmlElement("is-public")]
        public bool IsPublic;

        [XmlArray("attachments")]
        [XmlArrayItem("attachment")]
        public List<Attachment> Attachments { get; set; }
    }
}